/* 储存考勤模块-考勤管理里面的相关子路由（不显示在侧边导航栏的路由） */

const attendanceManagementSubRoutes: any = [
  {
    path: 'attendanceManagementGroupAdd',
    name: 'AttendanceManagementGroupAdd',
    component: () =>
      import(
        '@/views/Management/Attendance/AttendanceManagement/AttendanceGroup/AddGroup/index.vue'
      ),
    meta: {
      locale: '新增/编辑考勤组',
      requiresAuth: true,
      roles: ['*'],
      hideInMenu: true
    }
  },
  {
    path: 'attendanceManagementClassSettingAdd',
    name: 'AttendanceManagementClassSettingAdd',
    component: () =>
      import(
        '@/views/Management/Attendance/AttendanceManagement/ClassesManagement/AddClassSetting.vue'
      ),
    meta: {
      locale: '新增/编辑班次设置',
      requiresAuth: true,
      roles: ['*'],
      hideInMenu: true
    }
  },
  {
    path: 'attendanceManagementOutsideRulesSetting',
    name: 'AttendanceManagementOutsideRulesSetting',
    component: () =>
      import(
        '@/views/Management/Attendance/AttendanceManagement/AttendanceRules/OutsideRules/AddRules.vue'
      ),
    meta: {
      locale: '外勤规则',
      requiresAuth: true,
      roles: ['*'],
      hideInMenu: true
    }
  }
];

export default attendanceManagementSubRoutes;
